<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesReportGeneralClaimants.aspx.cs" Inherits="GonzalesReportGeneralClaimants" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
<!--
.HorizontalLineFromTop {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999999;
}
-->
    </style>
</head>
<body>
<form id="form1" runat="server" Text='Claimants'>
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Reports' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="2" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Reports :: Claimants' /></td>
            <td width="8" rowspan="2" class="VerticalDivider">&nbsp;</td>
            <td width="967"><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="FormBorder">
              <tr>
                <td colspan="4" align="right" class="FormLineItemAlt"><input type="image" name="ButtonCancel" id="ButtonCancel" src="img/popcalendar/close.gif"  /></td>
              </tr>
              <tr>
                <td width="25%" class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_Entity" runat="server" Text='Entity:' />
                  <span class="MessageError">*</span></td>
                <td width="25%" class="FormLineItem"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ByEntity" runat="server" OnSelectedIndexChanged="DropDownList_ByEntity_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList></td>
                <td width="25%" class="FormLineItem">                  <asp:Label CssClass="FormField" ID="Label_Company" runat="server" Text='Company:' />
                  <span class="MessageError">*</span></td>
                <td width="25%" class="FormLineItem"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ByCompany" runat="server"></asp:DropDownList></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt">                  <asp:Label CssClass="FormField" ID="Label_ADName" runat="server" Text='Active Directory ID:' /></td>
                <td class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_ADName" runat="server" /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_Name" runat="server" Text='Name:' /></td>
                <td class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_DisplayName" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_ApprRoute" runat="server" Text='Approval Route:' /></td>
                <td class="FormLineItem"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_ApprRouting" runat="server"></asp:DropDownList></td>
                <td class="FormLineItem"><asp:Label ID="Label_EmployeeID" Text="Employee ID:" runat="server" CssClass="FormField" /></td>
                <td class="FormLineItem"><asp:TextBox CssClass="FormTextBox" ID="TextBox_EmployeeID" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label ID="Label_CostCenter" Text="Cost Center:" runat="server" CssClass="FormField" /></td>
                <td class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_CostCenter" runat="server" /></td>
                <td class="FormLineItemAlt"><asp:Label ID="Label_HavingStopPoint" Text="Approval Stop Point:" runat="server" CssClass="FormField" /></td>
                <td class="FormLineItemAlt"><asp:DropDownList ID="DropDownList_HavingStopPoint" runat="server" CssClass="FormDropDown"></asp:DropDownList></td>
              </tr>

              <tr>
                <td class="FormLineItem"><asp:Label ID="Label_Sorting" Text='Sorting:' runat="server" CssClass="FormField" /></td>
                <td colspan="3" class="FormLineItem"><span class="TableResultCriteriaBar">
                  <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server"></asp:DropDownList>
                </span><span class="TableResultCriteriaBar">
                <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server"></asp:DropDownList>
                </span></td>
                </tr>
              <tr>
                <td colspan="4" class="FormLineItemAlt"><asp:Button CssClass="FormButton" ID="Button_Submit" runat="server" Text="Output to Screen" OnClick="Button_Submit_Click" />
                  <asp:Button CssClass="FormButton" ID="Button_CSV" runat="server" Text="Export to CSV File" OnClick="Button_CSV_Click" />
                    <asp:HyperLink ID="HyperLink_FileDownload" runat="server" CssClass="GridViewLink">HyperLink</asp:HyperLink></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td colspan="3" valign="top" class="HorizontalLineFromTop"></td>
          </tr>
          <tr>
            <td colspan="3" valign="top">&nbsp;<asp:GridView ID="GridViewResult" AutoGenerateColumns ="false" runat="server" OnRowCreated="OnRowCreated" CellPadding="5" CssClass="FormBorder"
                    Width="100%">
                <Columns>
                            <asp:BoundField DataField="EmployeeID" HeaderText="Employee ID" HtmlEncode="False">
                                <ItemStyle HorizontalAlign="Center" Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ActiveDirectoryID" HeaderText="Active Directory ID">
                                <ItemStyle HorizontalAlign="Left" Width="150px" />
                                <HeaderStyle HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DisplayName" HeaderText="Display Name">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CostCenter" HeaderText="Cost Center">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ApprovingCurrency" HeaderText="Approving Currency">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ApprovingLimit" HeaderText="Approving Limit">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="StopFlag" HeaderText="Stop Flag">
                                <ItemStyle HorizontalAlign="Center" Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ApprovingRouting" HeaderText="Approving Routing">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                        </Columns>
                                        <RowStyle CssClass="GridViewItem" HorizontalAlign = "center" />
                <HeaderStyle CssClass="GridViewHeader" />
                </asp:GridView>            </td>
            </tr>
        </table>
        </td>
      </tr>
    </table>
  </div>
</form></body>
</html>
